import AxiosServe from '@/utils/request.js'

/* 添加日志回复  */
export const RequestLogReplyAdd = (message, log_id, mid) => {
    return AxiosServe({
        url: '/api/reply/add',
        method: 'post',
        data: {
            message,
            log_id,
            mid
        }
    })
}

/* 
  日志列表
*/
export const RequestLogReplyListPage = (logId) => {
    return AxiosServe({
        url: '/api/reply/list',
        method: 'get',
        params: {
            logId,
        }
    })
}

/**
 * 删除日志
 */
export const RequestLogReplyDelete = (id) => {
    return AxiosServe({
        url: '/api/reply/delete',
        method: 'get',
        params: {
            id
        }
    })
}

